From: Dmitry Gutov Date: Sun, 27 Jan 2013 22:47:34 +0000 (+0400) Subject: * automated/ruby-mode-tests.el X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~3615^2~954 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b162502414d491f6893d962a49a88dfabac86fbf;p=emacs.git * automated/ruby-mode-tests.el (ruby-indent-spread-args-in-parens): New test. --- diff --git a/test/ChangeLog b/test/ChangeLog index 7857000ba2f..505ac398e2f 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2013-01-27 Dmitry Gutov + + * automated/ruby-mode-tests.el + (ruby-indent-spread-args-in-parens): New test. + 2013-01-15 Stefan Monnier * automated/advice-tests.el: Split up. Add advice-test-preactivate. diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el index 4cc9c590c20..42c59a1f3f0 100644 --- a/test/automated/ruby-mode-tests.el +++ b/test/automated/ruby-mode-tests.el @@ -237,6 +237,18 @@ VALUES-PLIST is a list with alternating index and value elements." |end |statement")) +(ert-deftest ruby-indent-spread-args-in-parens () + (let ((ruby-deep-indent-paren '(?\())) + (ruby-should-indent-buffer + "foo(1, + | 2, + | 3) + |" + "foo(1, + | 2, + | 3) + |"))) + (ert-deftest ruby-move-to-block-stops-at-indentation () (ruby-with-temp-buffer "def f\nend" (beginning-of-line)